****use "DATA_BesleyReynalQuerol_APSR2011_REPLICATION_BECK.dta"
**** Chnange this to piint to where you keep your data of just load data befire rybbubg
 regress  graduate  Democracy logGDPcapita i.country   , cluster(country)
 logit graduate  Democracy logGDPcapita i.country   , cluster(country)
margins, dydx(Democracy)
gen notall0=e(sample)
**** This generate a dummy variable which is one if not ALL0 group and 0 for ALL0 group
 regress  graduate  Democracy logGDPcapita i.country  if notall0==1 , cluster(country)
 regress  graduate  Democracy logGDPcapita i.country  if notall0==0 , cluster(country)
. 
